﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User_center/MainContent.Master"
    AutoEventWireup="true" CodeBehind="ApplyActivity.aspx.cs" Inherits="IService.User_center.ApplyActivity" %>

<asp:Content ID="title1" ContentPlaceHolderID="TitleContent" runat="server">
    <title>我要报名</title>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript">
        var isShow = false;
        function showMore()
        {
            if (isShow == false) {
                $("#moreP").show();//显示
                isShow = true;
            }
            else {
                $("#moreP").hide();//显示
                isShow = false;
            }
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="RightMainContent" runat="server">
    <!-- InstanceBeginEditable name="mainContent" -->
    <h1>填写活动报名资料</h1>
    <h3>欢迎参加由数字电视产业服务网发起的活动，请填写以下报名信息</h3>
    <p>
        <label>
            <span class="red">*</span>选择活动：</label>
        <span class="inputBlock">
            <asp:DropDownList ID="ddlActivity" runat="server">
            </asp:DropDownList>
        </span>
    </p>
    <p>
        <label>
            <span class="red">*</span>姓名：</label>
        <span class="inputBlock">
            <asp:TextBox ID="txtRealUserName" runat="server"></asp:TextBox>
            &nbsp;<a onclick="showMore()" href="#">点此添加多个报名人</a>
        </span>
    </p>
    <p id="moreP" style="display:none">
        <label>
        </label>
        <span class="inputBlock">
            <asp:TextBox ID="txtRealUserName1" runat="server"></asp:TextBox>
            <asp:TextBox ID="txtRealUserName2" runat="server"></asp:TextBox>
            <asp:TextBox ID="txtRealUserName3" runat="server"></asp:TextBox>
            <asp:TextBox ID="txtRealUserName4" runat="server"></asp:TextBox>
        </span>
    </p>
    <p>
        <label>
            <span class="red">*</span>公司：</label>
        <span class="inputBlock">
            <asp:TextBox ID="txtCompanyName" runat="server" class="inputRightInline"></asp:TextBox>
        </span>
    </p>
    <p>
        <label>
            <span class="red">*</span>联系电话：</label>
        <span class="inputBlock">
            <asp:TextBox ID="txtPhone" runat="server" class="inputRightInline"></asp:TextBox>
        </span>
    </p>
    <p>
        <label>
            &nbsp;
            固定电话：</label>
        <span class="inputBlock">
            <asp:TextBox ID="txtFixedPhone" runat="server" class="inputRightInline"></asp:TextBox>
        </span>
    </p>
    <p>
        <label>
            <span class="red">*</span>邮箱：</label>
        <span class="inputBlock">
            <asp:TextBox ID="txtEmail" runat="server" class="inputRightInline"></asp:TextBox>
        </span>
    </p>
    <p>
        <label>
            <span class="red">*</span>联系地址：</label>
        <span class="inputBlock">
            <asp:TextBox ID="txtAddress" runat="server" class="inputRightInline"></asp:TextBox>
        </span>
    </p>
    <p class="buttonBar">
        <asp:Button ID="btnSave" runat="server" Text="提交" class="button"
            OnClick="btnSave_Click" />
        <span>
            <asp:Label ID="lblErrorSupply" runat="server" class="red"></asp:Label>
        </span>
    </p>
    <p>
        &nbsp;
    </p>
    <!-- InstanceEndEditable -->
</asp:Content>
